package com.example.evanproject.mapper;

import com.example.evanproject.domain.Excellent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
* @author hanxiaoqi
* @description 针对表【excellent】的数据库操作Mapper
* @createDate 2024-03-09 21:52:13
* @Entity generator.domain.Excellent
*/
@Mapper
public interface ExcellentMapper extends BaseMapper<Excellent> {
    @Select("select * from excellent where f_id=#{fid}")
    String selectgoodall(Integer fid);

    @Update("UPDATE excellent set i_id=#{str} where f_id=#{fid}")
    Integer updatedate(Integer fid, String str);
}




